﻿using MiniExcelLibs;
using MiniExcelLibs.Attributes;
using System.Text.Json.Serialization;

namespace _焊接数据处理
{
    internal class Program
    {
        static void Main(string[] args)
        {
            using (var stream = File.OpenRead(@"C:\Users\humengjian\Desktop\熔化焊接与热切割作业K21.xlsx"))
            {
                var students = MiniExcel.Query<QuestionCameraInfo>(stream).ToList();

                
            }
        }
    }
    public class PhotoCaptureConfiguration
    {
        /// <summary>
        /// K24-1
        /// </summary>
        public string Code { get; set; }
        /// <summary>
        /// k24
        /// </summary>
        public string SplitCode { get; set; }


        public List<QuestionCameraInfo> QuestionCameraInfos { get; set; }
    }
    public class QuestionCameraInfo
    {
        [ExcelColumnName("评分标准")]
        /// <summary>
        /// 题目内容
        /// </summary>
        public string Content { get; set; }

        [ExcelColumnName("相机编号1-4")]
        /// <summary>
        /// 相机id
        /// </summary>
        public int CameraId { get; set; }
        [ExcelColumnName("科目代码")]
        /// <summary>
        /// 相机id
        /// </summary>
        public string Code { get; set; }
    }
}
